from django.urls import include, path

from user.views import TestView, JwtTestView, LoginView, SaveView, PwdView, ImageView, AvatarView, K_lineView, \
    GuBa_View, ChatView, UploadView, PredictView, StudentView

urlpatterns = [
    # path('user/',include('user.urls')),
    # path('role/',include('role.urls')),
    # path('menu/',include('menu.urls')),
    path('login',LoginView.as_view(),name='login'),
    path('save',SaveView.as_view(),name='save'),
    path('test/',TestView.as_view(),name='test'),
    path('jwt_test/',JwtTestView.as_view(),name='jwt_test'),
    path('updateUserPwd/',PwdView.as_view(),name='updateUserPwd'),
    path('uploadImage/',ImageView.as_view(),name='uploadImage'),
    path('updateAvatar/',AvatarView.as_view(),name='updateAvatar'),
    path('Kline/',K_lineView.as_view(),name='Kline'),
    path('guba/',GuBa_View.as_view(),name='GuBa'),
    path('chat/', ChatView.as_view(), name='chat'),
    path('upload/', UploadView.as_view(), name='upload'),
    path('predict/', PredictView.as_view(), name='predict'),
    path('student/', StudentView.as_view(), name='student'),
]